<script lang="ts" setup>
import GlobalHeader from '@/components/GlobalHeader.vue'
</script>

<template>
  <div id="basicLayout">
    <a-layout style="min-height: 100vh;">
      <a-layout-header class="header">
        <GlobalHeader />
      </a-layout-header>
      <a-layout-content>
        <router-view></router-view>
      </a-layout-content>
      <a-layout-footer class="footer">
        <a href="">学习项目</a>
      </a-layout-footer>
    </a-layout>
  </div>
</template>
 
<style lang="scss" scoped>
#basicLayout {
  .header {
    background-color: #fff;
  }
  .footer {
    background-color: #efefef;
    text-align: center;
  }
}
</style>